Kanzi Engine 插件中声明的属性类型的 Kanzi Studio 属性编辑器

Kanzi Studio 属性类型编辑器可让用户设置 Kanzi Engine 插件中声明的属性类型的值。本表列出了您可以在 Kanzi Engine 插件中声明属性类型的可用 Kanzi Studio 编辑器。如果您没有设置编辑器,Kanzi 会分配一个默认编辑器。

编辑器显示名称 编辑器名称 支持的数据类型 支持多编辑 工程项目标类型
< No editor > NoEditor.PropertyGridEditor MATRIX3x3
PROJECT_ITEM_REFERENCE_LIST
PROJECT_ITEM_REFERENCE
True ProjectItem
2D prefab template selector LayerPrefabSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True Node2DPrefabTemplate
2D Transformation editor Transformation2DEditor.PropertyGridEditor MATRIX3x3
SRT2D
False 不适用
2D vector field editor Vector2dFieldEditor.PropertyGridEditor VECTOR2D False 不适用
2D vector 滑块编辑器 (2D vector slider editor) Vector2dSliderEditor.PropertyGridEditor VECTOR2D False 不适用
3D prefab template selector ScenePrefabSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True Node3DPrefabTemplate
3D Transformation editor MatrixFieldEditor.PropertyGridEditor MATRIX4x4
SRT3D
False 不适用
3D vector field editor Vector3dFieldEditor.PropertyGridEditor VECTOR3D False 不适用
3D vector 滑块编辑器 (2D vector slider editor) Vector3dSliderEditor.PropertyGridEditor VECTOR3D False 不适用
4D vector field editor Vector4dFieldEditor.PropertyGridEditor VECTOR4D False 不适用
4D vector 滑块编辑器 (2D vector slider editor) Vector4dSliderEditor.PropertyGridEditor VECTOR4D False 不适用
Animable property type selector PropertyTypeNameSelector.AnimablePropertyEditor PROPERTY_TYPE_REFERENCE False 不适用
Animation clip dropdown AnimationClipSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True AnimationClip
Animation dropdown AnimationSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True 动画 (Animation)
Animation list selector AnimationEntryTargetListSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE_LIST False
Boolean dropdown BooleanValueSelector.PropertyGridEditor BOOLEAN False 不适用
Boolean property type selector PropertyTypeNameSelector.ExportedBooleanPropertyEditor PROPERTY_TYPE_REFERENCE False 不适用
Browse file text editor BrowseFileTextEditor STRING False 不适用
Browse folder text editor BrowseFolderTextEditor STRING False 不适用
Brush dropdown BrushSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True 笔刷 (Brush)
Camera dropdown CameraComboBox.PropertyGridEditor PROJECT_ITEM_REFERENCE True CameraNode
复选框 (Checkbox) CheckboxValueSelector.PropertyGridEditor BOOLEAN False 不适用
Color editor ColorSliderEditor.PropertyGridEditor COLOR False 不适用
Composer dropdown ComposerComboBox.PropertyGridEditor PROJECT_ITEM_REFERENCE True AbstractComposer
Cube map texture dropdown TextureSelector.CubeMapTexturePropertyGridEditor PROJECT_ITEM_REFERENCE True CubemapTextureInterface
Data source selector DataSourceSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True DataSource
Enum property member selector EnumPropertyMemberSelector.PropertyGridEditor PROPERTY_TYPE_GROUP False 不适用
枚举下拉菜单 (Enumeration dropdown) EnumValueSelector.PropertyGridEditor ENUM False 不适用
File list editor StringListEditor.FileListEditor STRING_LIST False 不适用
Font dropdown FontSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True FontFile
Generic resource dropdown GenericResourceFileSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True GenericResourceFile
Image format dropdown ImageFormatSelector.PropertyGridEditor ENUM False 不适用
Image selector ImageFileComboBox.ImageOnly PROJECT_ITEM_REFERENCE True ImageFile
List box item template selector PrefabTemplateSelector.ListBoxItemTemplateSelector PROJECT_ITEM_REFERENCE True PrefabTemplate
地区选择器 (Locale selector) CultureSelector.PropertyGridEditor STRING False 不适用
Main collada file dropdown MainAsset3DSourceFileSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True Asset3DSourceFile
Material dropdown MaterialComboBox.PropertyGridEditor PROJECT_ITEM_REFERENCE True 材质 (Material)
Material type dropdown MaterialTypeSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True MaterialType
Mesh dropdown MeshComboBox.PropertyGridEditor PROJECT_ITEM_REFERENCE True MeshNodeMesh
Mesh dropdown (allow null) MeshComboBox.AllowNull PROJECT_ITEM_REFERENCE True 网格 (Mesh)
Multi-line text editor TextEditor.TextAreaEditor STRING False 不适用
Node 2D selector Node2DSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True Node2D
Node 3D dropdown SceneGraphNodeDropDown.PropertyGridEditor PROJECT_ITEM_REFERENCE True Node3D
Node 3D dropdown (allow null) SceneGraphNodeDropDown.PropertyGridEditorAllowNull PROJECT_ITEM_REFERENCE True Node3D
Node 3D dropdown (immediate children) SceneGraphNodeDropDown.PropertyGridEditorImmediateChildren PROJECT_ITEM_REFERENCE True Node3D
Node dropdown ObjectNodeBaseDropdown.PropertyGridEditor PROJECT_ITEM_REFERENCE True 节点 (Node)
Object list selector SceneGraphNodeListSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE_LIST False 不适用
Object source dropdown ObjectSourceSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True ObjectSource
Object source list selector ObjectSourceListSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE_LIST False 不适用
页面选择器 (Page selector) PageSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True Node2D
Page Transition Collection dropdown PageTransitionCollectionSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True PageTransitionCollection
Path Editor PathEditor.PropertyGridEditor STRING False 不适用
Prefab template selector PrefabTemplateSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True PrefabTemplate
Property type selector PropertyTypeNameSelector.ExportedPropertyEditor PROPERTY_TYPE_REFERENCE False 不适用
Property type without object selector PropertyTypeNameSelector.ExportedPropertyWithoutObjectReferenceEditor PROPERTY_TYPE_REFERENCE False 不适用
Reference visualizer ReferenceVisualizer.PropertyGridEditor PROJECT_ITEM_REFERENCE
PROPERTY_TYPE_REFERENCE
True ProjectItemInterface
Render pass dropdown RenderPassComboBox.PropertyGridEditor PROJECT_ITEM_REFERENCE True RenderPass
Render target depth dropdown RenderTargetDepthTextureSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True DepthTargetTexture
Render target dropdown RenderTargetTextureSelector.RenderTargetSelector PROJECT_ITEM_REFERENCE True RenderTarget
Render target texture dropdown RenderTargetTextureSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True RenderTargetTexture
Scene dropdown SceneSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True 场景 (Scene)
Screen dropdown ScreenSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True 屏幕 (Screen)
Script dropdown ScriptSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True ScriptFile
Shader file dropdown ShaderSourceFileSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True ShaderSourceFile
Single texture dropdown TextureSelector.SingleTextureSelector PROJECT_ITEM_REFERENCE True SingleTexture
滑块 (Slider) Slider.PropertyGridEditor INT32
FLOAT
False 不适用
Spline dropdown SplineSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True 样条 (Spline)
State manager selector StateManagerSelector PROJECT_ITEM_REFERENCE True StateManager
State selector StateSelector PROJECT_ITEM_REFERENCE True 状态 (State)
String list editor StringListEditor.PropertyGridEditor STRING_LIST False 不适用
Style selector StyleSelector PROJECT_ITEM_REFERENCE True StyleItem
Sub-Page selector PageSelector.SubPageEditor PROJECT_ITEM_REFERENCE True Node2D
Sub page path Editor PathEditor.SubPagePathEditor STRING False 不适用
Text editor TextEditor.PropertyGridEditor STRING False 不适用
Text editor (float) TextEditor.FloatTextBoxEditor FLOAT False 不适用
Text editor (integer) TextEditor.IntTextBoxEditor INT32 False 不适用
Text editor (localizable) LocalizableTextSelector PROJECT_ITEM_REFERENCE True NodeResource
Text editor (value required) TextEditor.RequiredValuePropertyGridEditor STRING False 不适用
Text label TextVisualizer.PropertyGridEditor STRING
INT32
FLOAT
BOOLEAN
ENUM
DATE_TIME
False 不适用
Texture dropdown TextureSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True 纹理 (Texture)
Texture property type selector PropertyTypeNameSelector.ExportedTexturePropertyEditor PROPERTY_TYPE_REFERENCE False 不适用
Theme group selector ThemeGroupSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True ThemeGroup
Timeline sequence dropdown TimelineSequenceSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True TimelineSequence
Trajectory dropdown TrajectorySelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True 轨迹 (Trajectory)
Transition dropdown TransitionSelector.PropertyGridEditor PROJECT_ITEM_REFERENCE True Transition
Unordered string list editor StringListEditor.PropertyGridEditorNoOrdering STRING_LIST False 不适用

另请参阅

创建 Kanzi Engine 插件

扩展 Kanzi Engine 的功能

显示 Kanzi Studio 中的 Kanzi Engine 插件自定义类型的参考